package com.itheima.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.itheima.domain.Book;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author tongchen
 * @create 2022-12-17 15:53
 */

public interface BookService {
    public boolean save(Book book);
    public boolean deleteById(Integer id);
    public boolean update(Book book);
    public Book selectById(Integer id);
    public List<Book> selectAll();
    public IPage<Book> selectByPage(Integer column, Integer num);
}
